//
//  BN_MyInfoHelper.h
//  BabyNow
//
//  Created by 闫建刚 on 14-5-26.
//  Copyright (c) 2014年 iMobile. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface BN_MyInfoHelper : NSObject

/**
 *  周评列表查询回调处理
 */
@property (nonatomic,strong) DataHandleComplete queryEvalListCompleteHandler;

/**
 *  家长首页列表查询回调处理
 */
@property (nonatomic,strong) DataHandleComplete queryParentHomeListCompleteHandler;

/**
 *  获取家长首页信息
 *
 *  @param completeHandler 回调处理
 */
- (void)queryParentHomeInfo:(DataHandleComplete)completeHandler;


// add by jason yan 2014-06-05

/**
 *  刷新家长首页信息
 */
- (void)refreshParentHomeInfoList;

/**
 *  查询下一页家长首页信息
 */
- (void)queryNextPageParentHomeInfoList;


/**
 *  勋章详细
 *
 *  @param completeHandler 回调处理
 */
- (void)queryMedalList:(DataHandleComplete)completeHandler;

/**
 *  查询班级宝宝列表
 *
 *  @param completeHandler 回调处理
 */
- (void)queryChildList:(DataHandleComplete)completeHandler;

/**
 *  查询勋章类型列表
 *
 *  @param childId         宝宝编号
 *  @param completeHandler 回调处理
 */
- (void)queryMedalTypeListForChildId:(NSString*)childId
        completeHandler:(DataHandleComplete)completeHandler;

/**
 *  颁发勋章
 *
 *  @param childId 宝宝编号
 *  @param medalId 勋章编号
 */
- (void)sendMedalInfoForChildId:(NSString*)childId
                             medalId:(NSString*)medalId
                completeHandler:(DataHandleComplete)completeHandler;

/**
 *  刷新周评列表
 *
 *  @param childId  宝宝编号
 */
- (void)refreshEvalList:(NSString*)childId;

/**
 *  查询下一页周评列表
 *
 *  @param childId  宝宝编号
 */
- (void)queryNextPageEvalList:(NSString*)childId;

/**
 *  取消查询周评列表
 */
- (void)cancleQueryEvalList;

/**
 *  发布周评
 *
 *  @param childId         宝宝编号
 *  @param evalCont        周评内容
 *  @param completeHandler 回调处理
 */
- (void)sendEvaLInfoForChildId:(NSString*)childId
                      evalCont:(NSString*)evalCont
               completeHandler:(DataHandleComplete)completeHandler;

/**
 *  查询教师首页信息
 *
 *  @param completeHandler 回调处理
 */
- (void)queryTeacherHomeInfo:(DataHandleComplete)completeHandler;

/**
 *  查询积分列表
 *
 *  @param completeHandler 回调处理
 */
- (void)queryPrizList:(DataHandleComplete)completeHandler;

/**
 *  积分兑换
 *
 *  @param prizId          兑换编号
 *  @param pointNum        兑换点数
 *  @param completeHandler 回调处理
 */
- (void)prizChangeWithPrizId:(NSString*)prizId
                    pointNum:(NSString*)pointNum
             completeHandler:(DataHandleComplete)completeHandler;

/**
 *  查询积分规则
 *
 *  @param completeHandler 回调处理
 */
- (void)queryPointRule:(DataHandleComplete)completeHandler;

/**
 *  查询个人资料
 *
 *  @param completeHandler 回调处理
 */
- (void)queryUserInfo:(DataHandleComplete)completeHandler;

/**
 *  更新个人资料
 *
 *  @param birthDate       宝宝生日
 *  @param gradUniv        毕业院校
 *  @param educ            学历
 *  @param sign            教育格言
 *  @param phone           电话号码
 *  @param completeHandler 回调处理
 */
- (void)updateUserInfoWithBirthDate:(NSString*)birthDate
                           gradUniv:(NSString*)gradUniv
                               educ:(NSString*)educ
                               sign:(NSString*)sign
                              phone:(NSString*)phone
        completeHandle:(DataHandleComplete)completeHandler;

/**
 *  更新个人资料(包含个人头像)
 *
 *  @param birthDate            宝宝生日
 *  @param gradUniv             毕业院校
 *  @param educ                 学历
 *  @param sign                 教育格言
 *  @param phone                电话号码
 *  @param fileInfoArr          上传头像
 *  @param completeHandler      回调处理
 *  @param uploadProcessHandler 上传进度回调
 */
- (void)updateUserInfoWithBirthDate:(NSString *)birthDate
                           gradUniv:(NSString *)gradUniv
                               educ:(NSString *)educ
                               sign:(NSString *)sign
                              phone:(NSString *)phone
                    filesInfoArr:(NSArray*)fileInfoArr
                     completeHandle:(DataHandleComplete)completeHandler
            uploadProcessingHandler:(UploadProcessingHandler)uploadProcessHandler;

/**
 *  查询用户密码
 *
 *  @param completeHandler 回调处理
 */
#warning 此方法废弃
//- (void)queryUserInfoPass:(DataHandleComplete)completeHandler;


/**
 *  更新用户密码
 *
 *  @param newPass         新密码
 *  @param completeHandler 回调处理
 */
- (void)updateUserInfoWithNewPass:(NSString*)newPass
                  completeHandler:(DataHandleComplete)completeHandler;

/**
 *  更新用户邮箱
 *
 *  @param mail            邮箱
 *  @param completeHandler 回调处理
 */
- (void)updateUserInfoWithMail:(NSString*)mail
               completeHandler:(DataHandleComplete)completeHandler;


@end
